package com.sxit.tdf.server.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;

/**
 * @author 橙子高
 * @since 2022-02-18
 */
@TableName("tb_course")
@Schema(name = "Course对象", description = "")
public class Course implements Serializable {

  private static final long serialVersionUID = 1L;

  @Schema(description = "主键")
  private Integer id;

  @Schema(description = "课程名称")
  private String courseName;

  @Schema(description = "课程代号")
  private String courseCode;

  @Schema(description = "所属专业")
  private Integer professionId;

  @Schema(description = "负责的老师")
  private String teachId;

  @Schema(description = "所属的班级")
  private String classesId;

  @Schema(description = "所属的系部")
  private Integer deptId;

  @Schema(description = "课程状态 1. 正常进行 2 节课 3 其他 0 全部")
  private Integer courseStatu;

  @Schema(description = "年级")
  private Integer courseGrade;

  public Integer getCourseGrade() {
    return courseGrade;
  }

  public void setCourseGrade(Integer courseGrade) {
    this.courseGrade = courseGrade;
  }

  public Integer getDeptId() {
    return deptId;
  }

  public void setDeptId(Integer deptId) {
    this.deptId = deptId;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getCourseName() {
    return courseName;
  }

  public void setCourseName(String courseName) {
    this.courseName = courseName;
  }

  public String getCourseCode() {
    return courseCode;
  }

  public void setCourseCode(String courseCode) {
    this.courseCode = courseCode;
  }

  public Integer getProfessionId() {
    return professionId;
  }

  public void setProfessionId(Integer professionId) {
    this.professionId = professionId;
  }

  public String getTeachId() {
    return teachId;
  }

  public void setTeachId(String teachId) {
    this.teachId = teachId;
  }

  public String getClassesId() {
    return classesId;
  }

  public void setClassesId(String classesId) {
    this.classesId = classesId;
  }

  public Integer getCourseStatu() {
    return courseStatu;
  }

  public void setCourseStatu(Integer courseStatu) {
    this.courseStatu = courseStatu;
  }

  @Override
  public String toString() {
    return "Course{"
        + "id="
        + id
        + ", courseName="
        + courseName
        + ", courseCode="
        + courseCode
        + ", professionId="
        + professionId
        + ", teachId="
        + teachId
        + ", classesId="
        + classesId
        + ", courseStatu="
        + courseStatu
        + "}";
  }
}
